/**
 *  
 *  工厂模式测试
 *  2013-12-3
 **/
package DesignPattern.factory;

/**
 * @author lcx
 *
 */
public class FactoryTest {

	public static void main(String[] args) {
		AbstractFactory factory=new FactoryB();
		AbstractGoods goods =factory.getGoods();
		goods.showInfo();
	}
}
